package com.bs.modules.use.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bs.common.utils.PageUtils;
import com.bs.common.utils.Query;

import com.bs.modules.use.dao.UseShopDao;
import com.bs.modules.use.entity.UseShopEntity;
import com.bs.modules.use.service.UseShopService;


@Service("useShopService")
public class UseShopServiceImpl extends ServiceImpl<UseShopDao, UseShopEntity> implements UseShopService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UseShopEntity> page = this.page(
                new Query<UseShopEntity>().getPage(params),
                new QueryWrapper<UseShopEntity>()
        );

        return new PageUtils(page);
    }

}
